package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;
@Data
public class SkuItemVo {
    //1.sku基本信息获取 skuInfor表
    SkuInfoEntity info;
    boolean hasStock =true;
    //2.获取sku的图片信息,skuImages表
    List<SkuImagesEntity> images;
    //3.获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;
    //4.获取spu的介绍
    SpuInfoDescEntity desp;
    //5.获取spu规格参数信息
    List<SpuItemBaseAttrGroupVo> groupAttrs;
    //6.获取商品的秒杀信息
    SeckillSkuInfoVo seckillSkuInfoVo;

}
